<?php
	require_once "lib/db.class.php";
	$link = db::getInstance();
	$link->conn->query('set names utf8');
	extract($_POST);
	if($q != ""){
		$where ="`start_city` LIKE '%{$q}%' group by `start_city`";

		$fields ='start_city';
		$res = $link->select2('youhao',$where,$fields);
		print_r(json_encode(array('results' => $res)));
	}
	$link->close();